package com.suse.lhw.hms.authserver.service.impl;

import com.suse.lhw.hms.authserver.service.UUserRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.suse.lhw.hms.authserver.domin.UUserRole;
import com.suse.lhw.hms.authserver.mapper.UUserRoleMapper;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.authserver.service
 * @ClassName: UUserRoleServiceImpl
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/3/28 17:54
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/3/28 17:54
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Service
public class UUserRoleServiceImpl implements UUserRoleService {

    @Resource
    private UUserRoleMapper uUserRoleMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return uUserRoleMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(UUserRole record) {
        return uUserRoleMapper.insert(record);
    }

    @Override
    public int insertSelective(UUserRole record) {
        return uUserRoleMapper.insertSelective(record);
    }

    @Override
    public UUserRole selectByPrimaryKey(Integer id) {
        return uUserRoleMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(UUserRole record) {
        return uUserRoleMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(UUserRole record) {
        return uUserRoleMapper.updateByPrimaryKey(record);
    }

}
